package com.crane.oss.school.bean.request.equipment;

import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2023年01月17日 23时03分27秒
 */
@ApiModel(description = "新增设备参数")

@Getter
@Setter
@ToString
public class AddEquipmentReq implements Serializable {

	private static final long serialVersionUID = -4516776510136308652L;

    @ApiModelProperty(value = "学校ID", name = "partyId")
    @NotNull(message = "partyId不能为空")
    private Long partyId;

    @ApiModelProperty(value = "校区ID", name = "schoolId")
    @NotNull(message = "schoolId不能为空")
    private Long schoolId;
    
    @ApiModelProperty(value = "学生ID", name = "studentId")
    @NotNull(message = "studentId不能为空")
    private Long studentId;

    @ApiModelProperty(value = "器材名称", name = "name")
    @Size(min = 1, max = 64, message = "name长度不在范围内")
    private String name;

    @ApiModelProperty(value = "器材类型 1跳绳", name = "type")
    @NotNull(message = "type不能为空")
    private Integer type;

    @ApiModelProperty(value = "器材型号", name = "model")
    @Size(min = 1, max = 32, message = "model长度不在范围内")
    private String model;

    @ApiModelProperty(value = "网络类型", name = "network")
    @Size(max = 32, message = "network长度超长")
    private String network;

    @ApiModelProperty(value = "器材IMEI", name = "imei")
    @Size(min = 1, max = 32, message = "imei长度不在范围内")
    private String imei;

    @ApiModelProperty(value = "器材IMSI", name = "imsi")
    @Size(max = 32, message = "imsi长度超长")
    private String imsi;

    @ApiModelProperty(value = "器材版本号", name = "version")
    @Size(max = 255, message = "version长度超长")
    private String version;

    @ApiModelProperty(value = "音乐模式 1静谧模式、2均衡模式、3动感模式", name = "musicMode")
    private Integer musicMode;

    @ApiModelProperty(value = "跳绳模式 1:1分钟倒计时跳绳、2:200个倒计数跳绳、3:自由跳绳", name = "skipmode")
    private Integer skipmode;

    @ApiModelProperty(value = "绑定类型 1物联网、2蓝牙", name = "bindType")
    @NotNull(message = "bindType不能为空")
    private Integer bindType;

}
